package com.cbn.ibcp.web.jishiting.operator.convert;

import com.cbn.ibcp.common.utils.bean.BeanUtils;
import com.cbn.ibcp.jishiting.rms.bo.ResourceStreamBO;
import com.cbn.ibcp.jishiting.rms.bo.ResourceStreamOrgBO;
import com.cbn.ibcp.jishiting.rms.domain.ResourceStream;
import com.cbn.ibcp.web.jishiting.operator.dto.ResourceStreamDTO;
import com.cbn.ibcp.web.jishiting.operator.dto.ResourceStreamOrgDTO;

public class ResourceStreamOrgDTOConvert {

    public static ResourceStreamOrgBO convertTOResourceStreamBO(ResourceStreamOrgDTO resourceStreamOrgDTO) {
        if (resourceStreamOrgDTO == null) {
            return null;
        }
        ResourceStreamOrgBO resourceStreamOrgBO = new ResourceStreamOrgBO();
        BeanUtils.copyBeanProp(resourceStreamOrgBO, resourceStreamOrgDTO);
        return resourceStreamOrgBO;
    }
}
